{% extends 'user/base.html' %}

{% block title %}忘记密码{% endblock %}
{% block css %} <link href="/static/bootstrap-3.3.7/css/login.css" rel="stylesheet">{% endblock %}
{% block content %}

<form class="form-signin" method="post">
{% csrf_token %}
        <h2 class="form-signin-heading">通过邮箱找回密码</h2>
    <p style="color: red">{{ msg }}{{ forget_form.captcha.errors }}</p>

     <div class="form-group">
                  {{ forget_form.email.label_tag }}
                  {{ forget_form.email}}
              </div>
              <div class="form-group">
                  {{ forget_form.captcha.label_tag }}
                  {{ forget_form.captcha }}
              </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit">确认发送验证邮件</button>
      </form>

{% endblock %}